package cn.sdhuijin.vms.controller.comand;

import org.hibernate.validator.constraints.NotBlank;

public class CarCommand {
	@NotBlank(message = "车牌号不能为空")
	private String license;
	@NotBlank(message = "卡号不能为空")
	private String cardNumber;
	@NotBlank(message = "车主名称不能为空")
	private String masterName;
	@NotBlank(message = "车主手机不能为空")
	private String masterPhone;
	@NotBlank(message = "所属机构不能为空")
	private Long organizationId;

	public String getMasterPhone() {
		return masterPhone;
	}

	public void setMasterPhone(String masterPhone) {
		this.masterPhone = masterPhone;
	}

	public String getLicense() {
		return license;
	}

	public void setLicense(String license) {
		this.license = license;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getMasterName() {
		return masterName;
	}

	public void setMasterName(String masterName) {
		this.masterName = masterName;
	}

	public Long getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}
}
